import request from "../utils/request"
import utils from "../utils/util.js"
export default {
	getPetCheckedCompanyList(query) {
		const queryParmas = utils.addParamsToURL(query);
		return request.get(`/pet/shippingCompanyInfo/list1?${queryParmas}`);
	},

	addPetCompany(data) {
		return request.post('/pet/shippingCompanyInfo/addShippingCompanyInfo', data);
	},

	getPetCompanyById(id) {
		return request.get(`/pet/shippingCompanyInfo/${id}`)
	},

	delPetCompanyById(id) {
		return request.request(`/pet/shippingCompanyInfo/${id}`, 'DELETE')
	}
}